﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace canthovieclam.Models
{
    public class LayoutModels
    {
        private string _headerImage;
        public string HeaderImage
        {
            get
            {
                if (_headerImage == null)
                {
                    System.Random RandNum = new System.Random();
                    int myRandomNumber = RandNum.Next(1, 6);
                    _headerImage = "header_" + myRandomNumber + ".jpg";
                }
                return _headerImage;
            }
        }
        public SelectList Locations { get; set; }
        public SelectList JobCategories { get; set; }
    }
}